﻿<%@ Page language="C#" MasterPageFile="~masterurl/default.master" Inherits="Microsoft.SharePoint.WebPartPages.WebPartPage,Microsoft.SharePoint,Version=14.0.0.0,Culture=neutral,PublicKeyToken=71e9bce111e9429c" %> 

<%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> 

<%@ Import Namespace="Microsoft.SharePoint" %> 

<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> 
<%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> 
<%@ Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>

<asp:Content ContentPlaceHolderId="PlaceHolderPageTitle" runat="server">
	<SharePoint:EncodedLiteral ID="EncodedLiteral1" runat="server" text="<%$Resources:wss,multipages_homelink_text%>" EncodeMethod="HtmlEncode"/> - <SharePoint:ProjectProperty Property="Title" runat="server"/>
</asp:Content>

<asp:Content ContentPlaceHolderId="PlaceHolderPageImage" runat="server"><img src="/_layouts/images/blank.gif" width='1' height='1' alt="" /></asp:Content><asp:Content ContentPlaceHolderId="PlaceHolderPageTitleInTitleArea" runat="server">
    <label class="ms-hidden"><SharePoint:ProjectProperty ID="ProjectProperty2" Property="Title" runat="server"/></label>
</asp:Content>

<asp:Content ContentPlaceHolderId="PlaceHolderTitleAreaClass" runat="server"/>

<asp:Content ContentPlaceHolderId="PlaceHolderAdditionalPageHead" runat="server">
	<meta name="CollaborationServer" content="SharePoint Team Web Site" />
    <style type="text/css">
        .s4-nothome 
        {
	        display:none;
        }
    </style>
	<script type="text/javascript">
    //<![CDATA[
	    var navBarHelpOverrideKey = "WSSEndUser";
    //]]>
	</script>
</asp:Content>

<asp:Content ContentPlaceHolderId="PlaceHolderSearchArea" runat="server">
	<SharePoint:DelegateControl ID="DelegateControl1" runat="server"
		ControlId="SmallSearchInputBox" />
</asp:Content>

<asp:Content ContentPlaceHolderId="PlaceHolderLeftActions" runat="server"/>

<asp:Content ContentPlaceHolderId="PlaceHolderPageDescription" runat="server"/>

<asp:Content ContentPlaceHolderId="PlaceHolderBodyAreaClass" runat="server">

    <link rel="stylesheet" type="text/css" href="/Pages/Css/UserManagement.css"></link> 
    <link rel="stylesheet" type="text/css" href="/Pages/Css/jquery.dataTables.css"></link> 
    <link rel="stylesheet" type="text/css" href="/Pages/Css/jquery-ui.css"></link>
    <link rel="stylesheet" type="text/css" href="/Pages/Css/dataTables.jqueryui.css"></link>

    <script type="text/javascript" src="/Pages/Scripts/jquery-1.11.2.min.js"></script>
    <script type="text/javascript" src="/Pages/Scripts/jquery.SPServices-2014.02.js"></script>
    <script type="text/javascript" src="/Pages/Scripts/jquery-ui.min.js"></script>
    <script type="text/javascript" src="/Pages/Scripts/jquery.dataTables.js"></script>
    <script type="text/javascript" src="/Pages/Scripts/UserManagement.js"></script>
    <script type="text/javascript" src="/Pages/Scripts/UserManagementDA.js"></script>
    <script type="text/javascript" src="/Pages/Scripts/UserManagementGroups.js"></script>
    <script type="text/javascript" src="/Pages/Scripts/UserManagementSiteCollectionGroups.js"></script>
    <script type="text/javascript" src="/Pages/Scripts/UserManagementSiteCollUsers.js"></script>
    <script type="text/javascript" src="/Pages/Scripts/Utilities.js"></script>

</asp:Content>

<asp:Content ContentPlaceHolderId="PlaceHolderMain" runat="server">

    <div id="contentBody" style="padding:20px;">
        <ul class="tabsMenu">
            <li class="active"><a href="#">Manage User Groups</a></li>
            <li><a href="#">Manage Groups</a></li>
            <li><a href="#">Manage Site Collection Users</a></li>
            <li><a href="#">Manage Site Collection Groups</a></li>
        </ul>

        <div id="UserManagementContent">
            <table id="userListTable" class="display"></table>
        </div>

        <div id="GroupManagementContent" style="display:none;">
            <table id="groupListTable" class="display"></table>
        </div>

        <div id="SiteCollUserManagementContent" style="display:none;">
            <table id="siteCollUserListTable" class="display"></table>
        </div>

        <div id="SiteCollGroupManagementContent" style="display:none;">
            <div class="ui-state-highlight" style="padding: 6px;"><span style="font-weight:bold;line-height:25px;">Select a Site Collection:</span> &nbsp;<select id="ddlSiteCollectionsMainPage"></select></div>
            <br />
            <div id="SiteCollGroupManagementMenu" style="display:none;">
                <button id="btnCreateSiteCollectionGroup" type="button">Create Group</button>
            </div>
            <table id="siteCollGroupListTable" class="display"></table>
        </div>
    </div>

    <div id="ManageFormDialog"></div>

    <!--div id="TestResponseData"></div-->

    <div id="addGroupForm" role="dialog" style="display:none;"></div>

</asp:Content>